//
//  User.h
//  Gruphoto
//
//  Created by Thao Nguyen Huy on 1/22/13.
//  Copyright (c) 2013 CNC Software. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface User : NSObject {
    NSInteger userId;
    NSString *firstName;
    NSString *lastName;
    NSString *email;
    NSString *phoneNumber;
    NSString *avatarUrl;
    UIImage *avatarImage;
    NSString *token;
    NSString *socialId;
    NSInteger numberOfPhotos;
    NSInteger numberOfLikes;
    NSInteger numberOfFollowers;
    
    LoginType loginType;
}

@property (nonatomic, assign) NSInteger userId;
@property (nonatomic, retain) NSString *firstName;
@property (nonatomic, retain) NSString *lastName;
@property (nonatomic, retain) NSString *email;
@property (nonatomic, retain) NSString *phoneNumber;
@property (nonatomic, retain) NSString *avatarUrl;
@property (nonatomic, retain) UIImage *avatarImage;
@property (nonatomic, retain) NSString *token;
@property (nonatomic, retain) NSString *socialId;
@property (nonatomic, assign) NSInteger numberOfPhotos;
@property (nonatomic, assign) NSInteger numberOfLikes;
@property (nonatomic, assign) NSInteger numberOfFollowers;
@property (nonatomic, assign) LoginType loginType;

- (id)initWithEmail:(NSString *)_email firstName:(NSString *)_firstName lastName:(NSString *)_lastName phoneNumber:(NSString *)_phoneNumber avatarImage:(UIImage *)_avatar;

@end
